package com.yincheng.oes.business.model.dto;

import com.yincheng.oes.business.util.Page;

import java.util.List;

/**
 * @Description TODO
 * @Author 446948434@qq.com
 * @Date 2021/10/24 9:49 下午
 * @Version 1.0
 */
public class PageResultDTO<T> {

    /**
     * 查询结果总数
     */
    private int total;

    private Page page;

    /**
     * 当前分页数据集合
     */
    private List<T> results;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public Page getPage() {
        return page;
    }

    public void setPage(Page page) {
        this.page = page;
    }

    public List<T> getResults() {
        return results;
    }

    public void setResults(List<T> results) {
        this.results = results;
    }
}
